package thss.mse12.lau.rsa.c;

import java.util.Random;

/*
 * 
 *  This class is used to test whether my BigInteger class is correct.
 * 
 */
public class BigIntegerTester {
	public static void main(String args[]) {
		testAdd();
	}

	public static void testGen() {
		BigInteger i = new BigInteger(512, new Random());
		System.out.println(i.toString());
	}

	public static void testAdd() {
		BigInteger op1, op2, rlt;
		op1 = new BigInteger(8, new Random());
		op2 = new BigInteger(10, new Random());
		rlt = op1.add(op2);
		System.out.println(op1.toString());
		System.out.println(op2.toString());
		System.out.println(rlt.toString());

	}
}
